﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace ABC_SA
{
    public partial class AdminForm : Form
    {
        public AdminForm()
        {
            InitializeComponent();
        }

        private void btnserv_Click(object sender, EventArgs e)
        {
            this.Hide();
            ServicioForm serv = new ServicioForm();
            serv.Show();
        }
        private void btnclient_Click(object sender, EventArgs e)
        {
            this.Hide();
            ConClienteForm cliente = new ConClienteForm();
            cliente.Show();
        }

        private void btncclient_Click(object sender, EventArgs e)
        {
            this.Hide();
            UsuarioForm cliente = new UsuarioForm();
            cliente.Show();
        }

        private void btnexit_Click(object sender, EventArgs e)
        {
            Close();
        }

        private void btnlogin_Click(object sender, EventArgs e)
        {
            ValidacionInicio login = new ValidacionInicio();
            login.Show();
        }

        private void btnprov_Click(object sender, EventArgs e)
        {
            frmMantenimientoProveedor proveedor = new frmMantenimientoProveedor();
            this.Hide();
            proveedor.Show();
        }

        private void btndest_Click(object sender, EventArgs e)
        {
            
        }

        private void btnpaq_Click(object sender, EventArgs e)
        {
            frmPaquete paq = new frmPaquete();
            this.Hide();
            paq.Show();
        }

        private void button2_Click(object sender, EventArgs e)
        {
            frmDestinoPaquete dest = new frmDestinoPaquete();
            this.Hide();
            dest.Show();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            frmServicioPaquete serv = new frmServicioPaquete();
            this.Hide();
            serv.Show();
        }

        private void btnAtras_Click(object sender, EventArgs e)
        {
            ValidacionInicio valInicio = new ValidacionInicio();
            this.Hide();
            valInicio.Show();
        }

        /*private void btndest_Click(object sender, EventArgs e)
        {
            frmDestino destino = new frmDestino();
            this.Hide();
            destino.Show();
        }*/
    }
}
